package com.ruoyi.project.business.mapper;

import java.util.List;
import com.ruoyi.project.business.domain.BusinessAdvice;

/**
 * 意见反馈Mapper接口
 * 
 * @author ruoyi
 * @date 2020-11-04
 */
public interface BusinessAdviceMapper 
{
    /**
     * 查询意见反馈
     * 
     * @param id 意见反馈ID
     * @return 意见反馈
     */
    public BusinessAdvice selectBusinessAdviceById(Long id);

    /**
     * 查询意见反馈列表
     * 
     * @param businessAdvice 意见反馈
     * @return 意见反馈集合
     */
    public List<BusinessAdvice> selectBusinessAdviceList(BusinessAdvice businessAdvice);

    /**
     * 新增意见反馈
     * 
     * @param businessAdvice 意见反馈
     * @return 结果
     */
    public int insertBusinessAdvice(BusinessAdvice businessAdvice);

    /**
     * 修改意见反馈
     * 
     * @param businessAdvice 意见反馈
     * @return 结果
     */
    public int updateBusinessAdvice(BusinessAdvice businessAdvice);

    /**
     * 删除意见反馈
     * 
     * @param id 意见反馈ID
     * @return 结果
     */
    public int deleteBusinessAdviceById(Long id);

    /**
     * 批量删除意见反馈
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBusinessAdviceByIds(Long[] ids);
}
